using System;
using CUtil;
namespace CStock
{
	/// <summary>
	/// Summary description for IGridIntraday.
	/// </summary>
    public interface IGrid : IContextProvider
	{
        object SelectedObject{ get;set;}

		//bool CreateGrid(CUtil.GridTypes gridType);
        bool CreateGrid(CUtil.GridTypes gridType, bool assembly);
        //bool CreateGridFromXMLFile(string fileName);
        void AddRow_Single(object o, bool setCellColor);
        void AddRow_ForEachProperty(object o);

        void AddRowAndRefresh(object o, bool setCellColor);
		void ClearGridComplete();
		void ClearGridRows();
		void RefreshGrid();

        bool Initialized { get;set;}
       CUtil.GridTypes GridType {get;set;}
      

	}
}
